package com.hopeland.androidpc.jilintongdaomen.room.entry;


import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity(tableName = "rfid_info")
public class RfidRoomInfo {
    @PrimaryKey( autoGenerate = true )
    public long rfidId;
    public String epc ; //rfid 原始数据
    public String epc_asicc ; //rfid
    public String workstation ; //工位
    public String prodtype ; //门类型
    public String flights ;  //架次
    public String up_time;//时间

    public RfidRoomInfo(String epc,String epc_asicc, String workstation, String prodtype, String flights, String up_time) {
        this.epc = epc;
        this.epc_asicc = epc_asicc;
        this.workstation = workstation;
        this.prodtype = prodtype;
        this.flights = flights;
        this.up_time = up_time;
    }

    @Override
    public String toString() {
        return "RfidRoomInfo{" +
                "rfidId=" + rfidId +
                ", epc='" + epc + '\'' +
                ", workstation='" + workstation + '\'' +
                ", prodtype='" + prodtype + '\'' +
                ", flights='" + flights + '\'' +
                ", up_time='" + up_time + '\'' +
                '}';
    }
}

